package com.psp.sp.controller.springmvc.req;


import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

/**
 * 找回密码验证手机
 **/
public class ConfirmPhoneParam {
	@NotEmpty(message = "手机号不能为空")
	@Pattern(regexp = "^(1)\\d{10}$", message = "手机号格式不正确！")
	private String phone; // 手机或邮箱
	@NotEmpty(message = "短信验证码不能为空")
	private String phoneCode; // 短信验证码
	@NotEmpty(message = "图形验证码不能为空")
	private String vcode; // 图形验证码

	public void setPhone(String phone) {
 		this.phone = phone;
	}

	public String getPhone() {
 		return phone;
	}

	public void setPhoneCode(String phoneCode) {
 		this.phoneCode = phoneCode;
	}

	public String getPhoneCode() {
 		return phoneCode;
	}

	public void setVcode(String vcode) {
 		this.vcode = vcode;
	}

	public String getVcode() {
 		return vcode;
	}

}
